// import "./Comp1.scss";//这样引入会影响其他组件

import { Button, Space } from "antd";
// 模块化引入
import styles from "./comp1.module.scss";
import { StepBackwardOutlined } from "@ant-design/icons";
function Comp() {
    return (
        // <div className="box">4
        <div className={styles.box}>
            <Space wrap>
                <StepBackwardOutlined style={{ fontSize: 48 }} />
                <Button type="primary">Primary Button</Button>
                <Button>Default Button</Button>
                <Button type="dashed">Dashed Button</Button>
                <Button type="text">Text Button</Button>
                <Button type="link">Link Button</Button>
            </Space>
            <p>是Comp1里面的内容</p>
        </div>
    );
}

export default Comp;
